/**
 * <pre>
 * Title: 		MessagePackage.java
 * Author:		linriqing
 * Create:	 	2013-5-7 下午02:12:42
 * Copyright: 	Copyright (c) 2013
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfin.sms.vo;

import java.io.Serializable;

/**
 * <pre>
 * HTTP消息包
 * </pre>
 * @author linriqing
 * @version 1.0, 2013-5-7
 */
public class MessagePackage implements Serializable
{
	private static final long serialVersionUID = 5377908114733384634L;

	/**
	 * 消息体
	 */
	private String body;

	/**
	 * 消息摘要
	 */
	private String digest;

	/**
	 * 消息编号
	 */
	private String messageId;

	/**
	 * 合作伙伴编号
	 */
	private String partnerId;

	/**
	 * 交易响应代码
	 */
	private String responseCode = "0000";

	/**
	 * 交易时间
	 */
	private String transTime;

	/**
	 * 交易类型
	 */
	private TransType transType;

	public MessagePackage()
	{
		super();
	}

	public MessagePackage(String partnerId, String messageId, TransType transType, String transTime, String digest,
			String message)
	{
		super();
		this.partnerId = partnerId;
		this.messageId = messageId;
		this.digest = digest;
		this.body = message;
		this.transTime = transTime;
		this.transType = transType;
	}

	public String getBody()
	{
		return body;
	}

	public String getDigest()
	{
		return digest;
	}

	public String getMessageId()
	{
		return messageId;
	}

	public String getPartnerId()
	{
		return partnerId;
	}

	public String getResponseCode()
	{
		return responseCode;
	}

	public String getTransTime()
	{
		return transTime;
	}

	public TransType getTransType()
	{
		return transType;
	}

	public void setBody(String body)
	{
		this.body = body;
	}

	public void setDigest(String digest)
	{
		this.digest = digest;
	}

	public void setMessageId(String messageId)
	{
		this.messageId = messageId;
	}

	public void setPartnerId(String partnerId)
	{
		this.partnerId = partnerId;
	}

	public void setResponseCode(String responseCode)
	{
		this.responseCode = responseCode;
	}

	public void setTransTime(String transTime)
	{
		this.transTime = transTime;
	}

	public void setTransType(TransType transType)
	{
		this.transType = transType;
	}

}
